//
//  ViewController.m
//  ceshi
//
//  Created by 乐辽科技 on 2018/6/13.
//  Copyright © 2018年 乐辽科技. All rights reserved.
//

#import "ViewController.h"
#import "OneViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)dianji:(UIButton *)sender {
    OneViewController *one = [[OneViewController alloc] init];
    one.name = @"123456";
//    UINavigationController *vc = [[UINavigationController alloc] initWithRootViewController:one];
//    [self presentViewController:vc animated:YES completion:nil];
    [self.navigationController pushViewController:one animated:YES];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
